import { createRouter, createWebHistory } from 'vue-router';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import("../views/HomeView.vue")
    },
    {
      path: '/chat/:initials/:sessionId',
      name: 'Chat',
      component: () => import("../views/ChatView.vue"),
      props: true
    }
  ]
});

export default router;